package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;
/**
 * des. 租金服务费配置
 * @author       :  RazaJin
 * @createDate    :  2020/9/11 0011 下午 2:34
 */
public enum ServiceChargeTypeEnum implements IEnum {
    /**
     *
     */
    IMMOBILIZATION(0, "按固定金额", 1),
    /**
     *
     */
    PERCENTAGE(1, "按租金百分比", 0);



    private Integer id;
    private String name;

    /**
     * 0 非选中
     * 1 选中
     */
    private Integer select;

    ServiceChargeTypeEnum(Integer id, String name, Integer select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }


    @Override
    public Serializable getValue() {
        return this.id;
    }

    public Integer getId() {
        return id;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
